/**
 * Created by wuli等等 on 2017/3/3.
 */
import React, { Component } from 'react';
import { View,Text,StyleSheet} from 'react-native';

export default class TypeToValue extends Component {

    render() {
        const { type,value,color }=this.props;
        return (
            <View style={styles.container}>
              <Text style={{color:color,fontSize:13}}>
                  {type} : {value}
              </Text>
            </View>
        )
    }
}

let styles = StyleSheet.create({
    container:{
        flex:1,
        justifyContent: 'center'
    },

});